package com.cc.dao;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Repository;

/**
 * @ClassName: MyDao
 * @Description:
 * @Author: 晓东√
 * @Date: 2024-09-12 08:48
 * @Version: 1.0
 **/
@Repository
public class MyDao {

    @Value("${home}")
    private String home;
    @Value("${date}")
    private String date;
    @Value("${user}")
    private String name;

    public void showMessage(){
        System.out.println(home+"-----"+date);
        System.out.println(name);
    }

}
